home *** CD-ROM | disk | FTP | other *** search
- import Bladex
- import math
-
- Bladex.AddParticleGType("AguaC","WaterParticle",1,60)
-
- for i in range(60):
- r=90
- g=90
- b=90
- a=100
- size=220.0
- Bladex.SetParticleGVal("AguaC",i,r,g,b,a,size)
-
- Bladex.AddParticleGType("Espuma","SmokeParticle",1,10)
-
- for i in range(10):
- if i>7:
- traux=(10.0-i)/3.0
- else:
- traux=1.0
- aux=(10.0-i)/10.0
- r=120
- g=120
- b=120
- #a=255*math.sqrt(1.0-aux)
- a=150*traux
- size=400+400.0*math.sqrt(1.0-aux)
- Bladex.SetParticleGVal("Espuma",i,r,g,b,a,size)
-
-
- #char.Position = -45250, 2000,-30000
-
- ###primera cascada del rio
- CreateCascada2("Cascada1",(-80000,9000,62000),(1250.0, 0.0, 0.0),(0.0, 0.0, 1.0),(-80000,15800,62000),33)
-